package com.santoker.user.service.service.common.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.santoker.user.service.dao.UserRecordDetailMapper;
import com.santoker.user.service.model.UserRecordDetail;
import com.santoker.user.service.service.common.IUserRecordDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户记录详情表 服务实现类
 * </p>
 *
 * @author Jiangs
 */
@Service
public class UserRecordDetailServiceImpl extends ServiceImpl<UserRecordDetailMapper, UserRecordDetail> implements IUserRecordDetailService {

    @Override
    public List<UserRecordDetail> getUserRecordDetailList(Integer recordId) {
        return baseMapper.getListByRecordId(recordId);
    }

    @Override
    public UserRecordDetail getUserRecordDetailByRecordIdAndTNode(Integer recordId, String tNode) {
        return baseMapper.getDetailByRecordIdAndTNode(recordId, tNode);
    }

}
